package com.sikaryofficial.backend.domain.dto.req.information;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 关注对象 follow_t
 *
 * @author qinjinyuan
 * @date 2024-04-10
 */
@Getter
@Setter
@ToString
@ApiModel(value = "关注对象请求入参", description = "关注对象请求入参")
public class FollowSaveReq {

    /**
     * 操作 新增 false  取消true (1-新增 2-取消)
     */
    @ApiModelProperty(value = "操作:false-新增;true-取消", example = "false")
    private boolean options;

    /**
     * 被关注者ID;索引字段：方便查找
     */
    @ApiModelProperty(value = "followingId: 被关注者ID")
    @Min(value = 0, message = "followingId could not less than 0")
    private Long followingId;
    /**
     * 被关注者名字
     */
    @ApiModelProperty(value = "followingName: 被关注者名字")
    @NotBlank(message = "following Name is black")
    private String followingName;
}
